package holdem.workingMemory;

import holdem.*;
import java.util.List;

/**
 *
 * @author Pai Qi
 * @author qipai0@gmail.com
 * Description:
 * Start Date:
 *
 */

public class WorkingMemoryInfoFetcher {
    private static WorkingMemory wm;
    static {
        wm = WorkingMemory.me;
    }
    public Integer moneyAtCurrent(Integer playerID) {
        return Player.getPlayer(playerID).getMoneyAtCurrent();
    }
    
    public Integer moneyAtStarted(Integer playerID) {
        return Player.getPlayer(playerID).getMoneyAtStarted();
    }
    
    public Boolean isFolded(Integer playerID) {
        return Player.getPlayer(playerID).isFolded();
    }
    
    public Emotion emotion(Integer playerID) {
        return Player.getPlayer(playerID).getEmotion();
    }
    
    public List<Card> hand(Integer playerID) {
        return Player.getPlayer(playerID).getHand();
    }
    
    public Integer selfPlayerID() {
        return Player.me().getId();
    }


}
